package com.pureut.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.system.domain.MaterialCertificationApplication;
import com.pureut.system.domain.dto.MaterialCertificationApplicationDetailsDto;
import com.pureut.system.domain.dto.MaterialCertificationApplicationInitDto;
import com.pureut.system.domain.dto.MaterialCertificationApplicationPagesDto;
import com.pureut.system.domain.vo.MaterialCertificationApplicationVo;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-04 18:23:47
 * @Desc: 物料认证申请
 */
public interface IMaterialCertificationApplicationService extends IService<MaterialCertificationApplication> {

    /**
     * 分页查询
     * @param materialCertificationApplicationVo
     * @return
     */
    List<MaterialCertificationApplicationPagesDto> queryPage(MaterialCertificationApplicationVo materialCertificationApplicationVo);

    /**
     * 新增物料认证申请
     * @param materialCertificationApplicationVo
     * @return
     */
    Boolean save(MaterialCertificationApplicationVo materialCertificationApplicationVo);


    /**
     * 更新物料认证申请
     * @param materialCertificationApplicationVo
     * @return
     */
    Boolean updateById(MaterialCertificationApplicationVo materialCertificationApplicationVo);

    /**
     * 获取物料认证申请 初始化信息
     * @return
     */
    MaterialCertificationApplicationInitDto infoInit();

    /**
     * 获取物料认证申请详细信息
     * @param id
     * @return
     */
    MaterialCertificationApplicationDetailsDto getInfoById(Long id);

    /**
     * 审核
     * @return
     */
    Boolean examine(MaterialCertificationApplicationVo materialCertificationApplicationVo);
}

